﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Setting.Master" AutoEventWireup="true" CodeBehind="BlogAdd.aspx.cs" Inherits="WebSite.Blogs.BlogAdd" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <title>友赢网 - 个人中心 - 开始创作</title>
<script type="text/javascript" src="../JS/jquery-1.4.1.js"></script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="w-780">
	
    <h2>开始创作</h2>
    <p class="t1">提示：选择合适的创作类型,创作内容可以包含文字,图片,视频和MP3。<a href="http://www.youbewin.com/b/710a1abb-23ec-4973-844a-ab353e27a8ed.aspx" target="_blank"><font color="red">内容中如何插入图片</font></a>&nbsp;&nbsp;<a href="http://www.youbewin.com/b/1ed62448-6eed-43f8-8570-99e60b195aa0.aspx" target="_blank"><font color="red">内容中如何插入视频</font></a></p>
    <ul class="formSet mt5">
       
         <li><span class="l">类型：</span><div class="r">
             <asp:RadioButtonList ID="rblBlogBigType" runat="server" 
                 RepeatDirection="Horizontal" AutoPostBack="True" 
                 onselectedindexchanged="rblBlogBigType_SelectedIndexChanged">
             <asp:ListItem Text="图文" Value="图文" Selected="True"></asp:ListItem>
             <asp:ListItem Text="视频" Value="视频"></asp:ListItem>
             <asp:ListItem Text="MP3" Value="MP3"></asp:ListItem>
             </asp:RadioButtonList>
            </div></li>
            <li><span class="l">分类：</span><div class="r">
              <asp:RadioButtonList ID="rblBlogType" runat="server" RepeatDirection="Horizontal" Width="100%"
                    RepeatColumns="6">
             </asp:RadioButtonList>
            </div></li>
        
        
            <li id="licompany" runat="server"><span class="l">小组：</span><div class="r">
                <asp:RadioButtonList ID="rblCompany" runat="server" RepeatDirection="Horizontal"  Width="100%" RepeatColumns="4">
                </asp:RadioButtonList>
            </div></li>
         <li><span class="l">标题：</span><div class="r">
             <asp:TextBox ID="txtTitle" runat="server" class="text1" Width="572px"></asp:TextBox></div></li>
             <li><span class="l">关键字：</span><div class="r">
             <asp:TextBox ID="txtKeyWord" runat="server" class="text1" Width="300px"></asp:TextBox><font color="red">(多个关键字之间用“,”或“ ”分隔)</font></div></li>
             <li><span class="l">收费类型：</span><div class="r">
                 <asp:RadioButton ID="rbMianFei" runat="server" Text="免费" GroupName="MoneyType" Checked="true"/>
                 <asp:RadioButton ID="rbShouFei" runat="server" Text="收费" GroupName="MoneyType"/>
             </div></li>
             <li><span class="l">费用：</span><div class="r">
                 <asp:HiddenField ID="hidBlogMaxPVMoney" runat="server" />
             <asp:TextBox ID="txtCostMoney" runat="server" class="text1" Width="50px" Text="0"></asp:TextBox>个友赢豆  <font color="red">(其他用户查看需要的友赢豆个数，1友赢豆对应人民币1元，最高为<asp:Literal ID="litBlogMaxPVMoney" runat="server"></asp:Literal>个)</font></div></li>
             <li id="lifile" runat="server" visible="false"><span class="l">上传文件：</span><div class="r">
                 <asp:FileUpload ID="fuFile" runat="server" />
               <font color="red">(文件后缀名为.mp3，文件大小不能超过5M)</font></div></li>
            
         <li><span class="l">内容：</span><div class="r">
         <fckeditorv2:fckeditor id="txtContent" formatsource="true" fullpage="true" basepath="../js/FCKeditor/" runat="server" height="600px" toolbarset="MMSimpleA" width="100%"></fckeditorv2:fckeditor>
         </div></li>
         <li><span class="l">显示类型：</span><div class="r">
                 <asp:RadioButton ID="rbIsIndexNo" runat="server" Text="首页不显示" GroupName="IsIndex" Checked="true"/>
                 <asp:RadioButton ID="rbIsIndexYes" runat="server" Text="首页显示" GroupName="IsIndex"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:CheckBox ID="cbOtherEdit" runat="server" Text="允许他人编辑"/>
             </div></li>

         <li><span class="l">&nbsp;</span><div class="r">
         <asp:Button ID="btnSubmit" runat="server" Text="提 交" Font-Size="14px"
                 style="background-color:#70A52F;width:105px; margin-right:13px; height:30px; float:left;border:0; cursor:pointer; color:White" 
                 onclick="btnSubmit_Click" OnClientClick="return Add()"/>
                  <asp:Button ID="btnSave" runat="server" Text="暂时保存" Font-Size="14px" style="background-color:#70A52F;width:105px; margin-right:13px; height:30px; float:left;border:0; cursor:pointer; color:White"   onclick="btnSave_Click"/>
            </div></li>
        </ul>
  </div>
  
  <script language="javascript" type="text/javascript" src="../js/blog.js"></script>
</asp:Content>
